package com.shelpe.services.bootadmin;

import org.springframework.context.annotation.DeferredImportSelector;
import org.springframework.core.type.AnnotationMetadata;

import com.shelpe.services.bootadmin.configuration.RevereseZuulProxyConfiguration;

import de.codecentric.boot.admin.config.AdminServerWebConfiguration;
import de.codecentric.boot.admin.config.DiscoveryClientConfiguration;
import de.codecentric.boot.admin.config.HazelcastStoreConfiguration;
import de.codecentric.boot.admin.config.NotifierConfiguration;

public class AdminServerImportSelector implements DeferredImportSelector {

	@Override
	public String[] selectImports(AnnotationMetadata importingClassMetadata) {
		return new String[] { NotifierConfiguration.class.getCanonicalName(),
				HazelcastStoreConfiguration.class.getCanonicalName(),
				AdminServerWebConfiguration.class.getCanonicalName(),
				DiscoveryClientConfiguration.class.getCanonicalName(),
				RevereseZuulProxyConfiguration.class.getCanonicalName() };
	}

}